<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<title>${category.name}</title>
	<meta name="decorator" content="ems_default_front"/>
	<meta name="description" content="${category.description}" />
	<meta name="keywords" content="${category.keywords}" />
</head>
<body>
	<div class="content">
 	<div class="weizhi">
		<div class="fl wz1"><img src="${ctxStatic }/sxdw/img/wzico.png"/></div>
		<div class="fl wz2">当前位置：<A href="index.html">首页</A>--${category.name}</div>
	</div>
	<div class="clear"></div>
	<div class="listm">
	<ul class="newlist">
	
		<c:forEach items="${page.list}" var="article">
			<li>
				<div class="lic"><a href="<c:if test='${not empty article.link }'>${article.link }</c:if> <c:if test='${empty article.link }'>${ctx}/view-${article.category.id}-${article.id}${urlSuffix}</c:if>" target="_blank">${article.title}</a></div>
				<div class="suoyin">${article.description} </div>
				<div class="date"><fmt:formatDate value="${article.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></div>
			</li>
		</c:forEach>
	</ul>
	<div class="clear"></div>
	
	<style>
		.fenye0{ width: 1000px; padding-top: 15px;}
		.pagination ul{margin-left: 30%}
		.pagination ul li{float:left; color:#333; font-size: 16px;}
		.pagination ul li a{float:left;color:#333; margin: 0px 5px;font-size: 16px;}
		.pagination input{width:20px;text-align: center;}
	</style>
	
	<div class="fenye0">
		<div class="pagination">${page}</div>
	</div>
	</div>
	 
<div class="clear"></div> 
</div>
</body>
<!-- <script type="text/javascript">
	function page(n,s){
		alert(1);
		location="${ctx}/list-${category.id}${urlSuffix}?pageNo="+n+"&pageSize="+s;
	}
</script> -->
</html>